package com.xiaoxi.domain.menu;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author xiaoxi
 * @ProjectName springcloudbms
 * @PackageName com.xiaoxi.domain.menu
 * @ClassName BMSMenu
 * @Description TODO
 * @Date 2023/2/9 19:27
 * @Version 1.0
 */
@TableName("bms_menu")
@Data
public class BMSMenu implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;

    private Integer type;
    private String titleName;
    private String routeName;           // 唯一
    private String iconName;
    private String url;
    private String component;
    private Long parentId;
    private String permissionCode;
    private Integer orderBy;

    @TableField(fill = FieldFill.INSERT)
    private Long version;
    @TableField(fill = FieldFill.INSERT)
    private Long createId;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long modifyId;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modifyTime;


}
